package cn.lds.j368.dsedu.service;

import cn.lds.j368.dsedu.dto.ResultJson;
import cn.lds.j368.dsedu.entity.Video;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(name = "ds-edu-video-service")
public interface NewVideoService {

    @GetMapping("/api/video/{id}")
    String selectVideoByVideoId(@PathVariable("id") Integer videoId);
}
